package service;

import org.apache.ibatis.annotations.Insert;
import pojo.User;
import service.impl.UserServiceImpl;

import java.util.List;


public interface UserService {
    //定义行为  crud
    //查询用户
    List<User> findAll();

    int addUser(User user);

    User findById(Integer id);

    int updateUser(User user);

    int deleteUserById(Integer id);


    //增加

    //删除

    //修改
}